package com.tj.collection.controller.admin.response;

import com.fqgj.common.api.ResponseData;
import com.tj.collection.db.domain.MenuWithOperationsVO;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/3/15
 * Time: 上午10:29
 */
public class UserMenuWithOperationsResponse implements ResponseData {
    private List<MenuWithOperationsVO.UserMenu> list = new ArrayList<>();
    private List<String> menuIds = new ArrayList<>();

    public UserMenuWithOperationsResponse(MenuWithOperationsVO menuWithOperationsVO) {
        this.list = menuWithOperationsVO.getList();
        this.menuIds = menuWithOperationsVO.getMenuIds();
    }
}
